package com.tracesystem.controller.Info;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class AllTypePageInfo {

    @TableId(value = "TYPE_CODE", type = IdType.AUTO)
    private Integer typeCode;

    @TableField("TYPE_DESC")
    private String typeDesc;

    /**
     * 数据字典ISSUE_DATA_STATE类型的代码
     */
    @TableField("MODULE_STATE")
    private String moduleState;//默认有效为0

    @TableField(value = "CREATE_BY",fill = FieldFill.INSERT)
    private String createBy;

    @TableField(value = "CREATE_TIME",fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(value = "MODIFY_BY",fill = FieldFill.INSERT_UPDATE)
    private String modifyBy;

    @TableField(value = "MODIFY_TIME",fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime modifyTime;
}
